package com.lzp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author lzp
 * @version 1.0.0
 * @date 2022/4/5 20:27:25
 */
@ApiModel
@TableName("wechat_bill")
public class WechatBill {
    @ApiModelProperty
    private long id;
    @ApiModelProperty("交易时间")
    private LocalDateTime tradingTime;
    @ApiModelProperty("交易类型")
    private String tradingType;
    @ApiModelProperty("交易对方")
    private String counterparty;
    @ApiModelProperty("商品")
    private String goods;
    @ApiModelProperty("收支")
    private String revenueExpenditure;
    @ApiModelProperty("金额")
    private String moneyAmount;
    @ApiModelProperty("支付方式")
    private String paymentMethod;
    @ApiModelProperty("当前状态")
    private String status;
    @ApiModelProperty("交易单号")
    private String transactionNo;
    @ApiModelProperty("商户单号")
    private String merchantNo;
    @ApiModelProperty("备注")
    private String remarks;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public LocalDateTime getTradingTime() {
        return tradingTime;
    }

    public void setTradingTime(LocalDateTime tradingTime) {
        this.tradingTime = tradingTime;
    }

    public String getTradingType() {
        return tradingType;
    }

    public void setTradingType(String tradingType) {
        this.tradingType = tradingType;
    }

    public String getCounterparty() {
        return counterparty;
    }

    public void setCounterparty(String counterparty) {
        this.counterparty = counterparty;
    }

    public String getGoods() {
        return goods;
    }

    public void setGoods(String goods) {
        this.goods = goods;
    }

    public String getRevenueExpenditure() {
        return revenueExpenditure;
    }

    public void setRevenueExpenditure(String revenueExpenditure) {
        this.revenueExpenditure = revenueExpenditure;
    }

    public String getMoneyAmount() {
        return moneyAmount;
    }

    public void setMoneyAmount(String moneyAmount) {
        this.moneyAmount = moneyAmount;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTransactionNo() {
        return transactionNo;
    }

    public void setTransactionNo(String transactionNo) {
        this.transactionNo = transactionNo;
    }

    public String getMerchantNo() {
        return merchantNo;
    }

    public void setMerchantNo(String merchantNo) {
        this.merchantNo = merchantNo;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "WechatBill{" +
                "id=" + id +
                ", tradingTime=" + tradingTime +
                ", tradingType='" + tradingType + '\'' +
                ", counterparty='" + counterparty + '\'' +
                ", goods='" + goods + '\'' +
                ", revenueExpenditure='" + revenueExpenditure + '\'' +
                ", moneyAmount='" + moneyAmount + '\'' +
                ", paymentMethod='" + paymentMethod + '\'' +
                ", status='" + status + '\'' +
                ", transactionNo='" + transactionNo + '\'' +
                ", merchantNo='" + merchantNo + '\'' +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
